<?php

/**
 * Class Lw_db 通用类，使用于常用的增删改查操作
 */

class Lw_thunder
{
    protected $CI;

    public function __construct()
    {
        $this->CI =& get_instance();
    }

    public function thunderEncode($url)
    {
        $thunderPrefix="AA";
        $thunderPosix="ZZ";
        $thunderTitle="thunder://";
        $thunderUrl=$thunderTitle.base64_encode($thunderPrefix.$url.$thunderPosix);
        return $thunderUrl;
    }
}